From eba9ff6ab9dfbdba2eae3c4aadaf3e5746d76d9f Mon Sep 17 00:00:00 2001 From: "emellor@ewan" Date: Sat, 17 Sep 2005 10:22:42 +0100 Subject: [PATCH] Added _1,.._5 to dummy-variables, so that we can specify multiple unused parameters in our code. Removed map and filter from bad-functions - I don't think that we have any problem with functional programming styles! Signed-off-by: Ewan Mellor --- tools/python/pylintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/python/pylintrc b/tools/python/pylintrc index 7d207d1b95..efc4b0b3b2 100644 --- a/tools/python/pylintrc +++ b/tools/python/pylintrc @@ -74,7 +74,7 @@ enable-variables=yes init-import=no # List of variable names used for dummy variables (i.e. not used). -dummy-variables=_,dummy +dummy-variables=_,_1,_2,_3,_4,_5,dummy @@ -131,7 +131,7 @@ good-names=i,j,k,ex,Run,_ bad-names=foo,bar,baz,toto,tutu,tata # List of builtins function names that should not be used, separated by a comma -bad-functions=map,filter,apply,input +bad-functions=apply,input -- 2.30.2